/*
 * GameObject.h
 *
 *  Created on: Apr 12, 2012
 *      Author: The Almighty Eric
 */

#ifndef GAMEOBJECT_H
#define GAMEOBJECT_H

#include "ASprite.h"
#include "Physx.h"
#include <vector>

/*
 * Base class for objects in game, should inherit from this and create your
 * own object class
 */
class GameObject
{
	Physx px;
	ASprite sprite;
	std::vector<SDL_Rect> collboxp;

	GameObject();
	GameObject(ASprite a, Physx p);
	//#NOTE: These need to be overloaded when you inherit from this class
	virtual void collide() = 0;
	virtual void Update(Uint32 dticks) = 0;

};

#endif
